package com.test.ssh.service;

import java.io.Serializable;
import java.util.List;

public interface GenericManager<T,PK extends Serializable> {
	public abstract T save(T entity) ;
	public void delete(T entity) ;
	void remove(PK id) ;
	List findByHql(String hql,Object...params) ;
	T get(PK id) ;
	public T findUniqueBy(Class persistentClass,String propertyName, Object value);
}
